/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package vn.com.fis.portal.vtcc.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * This class is used by SOAP remote services, specifically {@link vn.com.fis.portal.vtcc.service.http.SampleEntryServiceSoap}.
 *
 * @author    loind
 * @see       vn.com.fis.portal.vtcc.service.http.SampleEntryServiceSoap
 * @generated
 */
public class SampleEntrySoap implements Serializable {
	public static SampleEntrySoap toSoapModel(SampleEntry model) {
		SampleEntrySoap soapModel = new SampleEntrySoap();

		soapModel.setSampleId(model.getSampleId());
		soapModel.setScientificName(model.getScientificName());
		soapModel.setSampleSynonym(model.getSampleSynonym());
		soapModel.setECatalog(model.getECatalog());
		soapModel.setSampleCode(model.getSampleCode());
		soapModel.setCatalogYear(model.getCatalogYear());
		soapModel.setOtherName(model.getOtherName());
		soapModel.setSampleOtherCode(model.getSampleOtherCode());
		soapModel.setSourceIsolation(model.getSourceIsolation());
		soapModel.setHistory(model.getHistory());
		soapModel.setSampleForeign(model.getSampleForeign());
		soapModel.setDomestic(model.getDomestic());
		soapModel.setDeposit(model.getDeposit());
		soapModel.setIsolationMethod(model.getIsolationMethod());
		soapModel.setIsolationTime(model.getIsolationTime());
		soapModel.setDepositionTime(model.getDepositionTime());
		soapModel.setIsolationPerson(model.getIsolationPerson());
		soapModel.setFd(model.getFd());
		soapModel.setDf(model.getDf());
		soapModel.setSampleLN(model.getSampleLN());
		soapModel.setCultivationMedium(model.getCultivationMedium());
		soapModel.setCultivationTemperature(model.getCultivationTemperature());
		soapModel.setPH(model.getPH());
		soapModel.setMostRecentCheckingDate(model.getMostRecentCheckingDate());
		soapModel.setSurvivability(model.getSurvivability());
		soapModel.setTypeStrain(model.getTypeStrain());
		soapModel.setNaturalStrain(model.getNaturalStrain());
		soapModel.setMutatedStrain(model.getMutatedStrain());
		soapModel.setProductionStrain(model.getProductionStrain());
		soapModel.setCellMorphology(model.getCellMorphology());
		soapModel.setCellPhoto(model.getCellPhoto());
		soapModel.setColonyPhoto(model.getColonyPhoto());
		soapModel.setSporePhoto(model.getSporePhoto());
		soapModel.setSequences(model.getSequences());
		soapModel.setGrowthCondition(model.getGrowthCondition());
		soapModel.setQuinone(model.getQuinone());
		soapModel.setGCContent(model.getGCContent());
		soapModel.setOtherCharacteristics(model.getOtherCharacteristics());
		soapModel.setApplications(model.getApplications());
		soapModel.setSampleReferences(model.getSampleReferences());
		soapModel.setCreateDate(model.getCreateDate());
		soapModel.setUpdateDate(model.getUpdateDate());
		soapModel.setBiosafety(model.getBiosafety());
		soapModel.setStatus(model.getStatus());
		soapModel.setStrainId(model.getStrainId());

		return soapModel;
	}

	public static SampleEntrySoap[] toSoapModels(SampleEntry[] models) {
		SampleEntrySoap[] soapModels = new SampleEntrySoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static SampleEntrySoap[][] toSoapModels(SampleEntry[][] models) {
		SampleEntrySoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new SampleEntrySoap[models.length][models[0].length];
		}
		else {
			soapModels = new SampleEntrySoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static SampleEntrySoap[] toSoapModels(List<SampleEntry> models) {
		List<SampleEntrySoap> soapModels = new ArrayList<SampleEntrySoap>(models.size());

		for (SampleEntry model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new SampleEntrySoap[soapModels.size()]);
	}

	public SampleEntrySoap() {
	}

	public long getPrimaryKey() {
		return _sampleId;
	}

	public void setPrimaryKey(long pk) {
		setSampleId(pk);
	}

	public long getSampleId() {
		return _sampleId;
	}

	public void setSampleId(long sampleId) {
		_sampleId = sampleId;
	}

	public String getScientificName() {
		return _scientificName;
	}

	public void setScientificName(String scientificName) {
		_scientificName = scientificName;
	}

	public String getSampleSynonym() {
		return _sampleSynonym;
	}

	public void setSampleSynonym(String sampleSynonym) {
		_sampleSynonym = sampleSynonym;
	}

	public int getECatalog() {
		return _eCatalog;
	}

	public void setECatalog(int eCatalog) {
		_eCatalog = eCatalog;
	}

	public String getSampleCode() {
		return _sampleCode;
	}

	public void setSampleCode(String sampleCode) {
		_sampleCode = sampleCode;
	}

	public String getCatalogYear() {
		return _catalogYear;
	}

	public void setCatalogYear(String catalogYear) {
		_catalogYear = catalogYear;
	}

	public String getOtherName() {
		return _otherName;
	}

	public void setOtherName(String otherName) {
		_otherName = otherName;
	}

	public String getSampleOtherCode() {
		return _sampleOtherCode;
	}

	public void setSampleOtherCode(String sampleOtherCode) {
		_sampleOtherCode = sampleOtherCode;
	}

	public String getSourceIsolation() {
		return _sourceIsolation;
	}

	public void setSourceIsolation(String sourceIsolation) {
		_sourceIsolation = sourceIsolation;
	}

	public String getHistory() {
		return _history;
	}

	public void setHistory(String history) {
		_history = history;
	}

	public int getSampleForeign() {
		return _sampleForeign;
	}

	public void setSampleForeign(int sampleForeign) {
		_sampleForeign = sampleForeign;
	}

	public int getDomestic() {
		return _domestic;
	}

	public void setDomestic(int domestic) {
		_domestic = domestic;
	}

	public int getDeposit() {
		return _deposit;
	}

	public void setDeposit(int deposit) {
		_deposit = deposit;
	}

	public String getIsolationMethod() {
		return _isolationMethod;
	}

	public void setIsolationMethod(String isolationMethod) {
		_isolationMethod = isolationMethod;
	}

	public String getIsolationTime() {
		return _isolationTime;
	}

	public void setIsolationTime(String isolationTime) {
		_isolationTime = isolationTime;
	}

	public String getDepositionTime() {
		return _depositionTime;
	}

	public void setDepositionTime(String depositionTime) {
		_depositionTime = depositionTime;
	}

	public String getIsolationPerson() {
		return _isolationPerson;
	}

	public void setIsolationPerson(String isolationPerson) {
		_isolationPerson = isolationPerson;
	}

	public String getFd() {
		return _fd;
	}

	public void setFd(String fd) {
		_fd = fd;
	}

	public String getDf() {
		return _df;
	}

	public void setDf(String df) {
		_df = df;
	}

	public String getSampleLN() {
		return _sampleLN;
	}

	public void setSampleLN(String sampleLN) {
		_sampleLN = sampleLN;
	}

	public String getCultivationMedium() {
		return _cultivationMedium;
	}

	public void setCultivationMedium(String cultivationMedium) {
		_cultivationMedium = cultivationMedium;
	}

	public String getCultivationTemperature() {
		return _cultivationTemperature;
	}

	public void setCultivationTemperature(String cultivationTemperature) {
		_cultivationTemperature = cultivationTemperature;
	}

	public String getPH() {
		return _pH;
	}

	public void setPH(String pH) {
		_pH = pH;
	}

	public Date getMostRecentCheckingDate() {
		return _mostRecentCheckingDate;
	}

	public void setMostRecentCheckingDate(Date mostRecentCheckingDate) {
		_mostRecentCheckingDate = mostRecentCheckingDate;
	}

	public String getSurvivability() {
		return _survivability;
	}

	public void setSurvivability(String survivability) {
		_survivability = survivability;
	}

	public int getTypeStrain() {
		return _typeStrain;
	}

	public void setTypeStrain(int typeStrain) {
		_typeStrain = typeStrain;
	}

	public int getNaturalStrain() {
		return _naturalStrain;
	}

	public void setNaturalStrain(int naturalStrain) {
		_naturalStrain = naturalStrain;
	}

	public int getMutatedStrain() {
		return _mutatedStrain;
	}

	public void setMutatedStrain(int mutatedStrain) {
		_mutatedStrain = mutatedStrain;
	}

	public int getProductionStrain() {
		return _productionStrain;
	}

	public void setProductionStrain(int productionStrain) {
		_productionStrain = productionStrain;
	}

	public String getCellMorphology() {
		return _cellMorphology;
	}

	public void setCellMorphology(String cellMorphology) {
		_cellMorphology = cellMorphology;
	}

	public String getCellPhoto() {
		return _cellPhoto;
	}

	public void setCellPhoto(String cellPhoto) {
		_cellPhoto = cellPhoto;
	}

	public String getColonyPhoto() {
		return _colonyPhoto;
	}

	public void setColonyPhoto(String colonyPhoto) {
		_colonyPhoto = colonyPhoto;
	}

	public String getSporePhoto() {
		return _sporePhoto;
	}

	public void setSporePhoto(String sporePhoto) {
		_sporePhoto = sporePhoto;
	}

	public String getSequences() {
		return _sequences;
	}

	public void setSequences(String sequences) {
		_sequences = sequences;
	}

	public String getGrowthCondition() {
		return _growthCondition;
	}

	public void setGrowthCondition(String growthCondition) {
		_growthCondition = growthCondition;
	}

	public String getQuinone() {
		return _quinone;
	}

	public void setQuinone(String quinone) {
		_quinone = quinone;
	}

	public String getGCContent() {
		return _GCContent;
	}

	public void setGCContent(String GCContent) {
		_GCContent = GCContent;
	}

	public String getOtherCharacteristics() {
		return _otherCharacteristics;
	}

	public void setOtherCharacteristics(String otherCharacteristics) {
		_otherCharacteristics = otherCharacteristics;
	}

	public String getApplications() {
		return _applications;
	}

	public void setApplications(String applications) {
		_applications = applications;
	}

	public String getSampleReferences() {
		return _sampleReferences;
	}

	public void setSampleReferences(String sampleReferences) {
		_sampleReferences = sampleReferences;
	}

	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	public Date getUpdateDate() {
		return _updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		_updateDate = updateDate;
	}

	public String getBiosafety() {
		return _biosafety;
	}

	public void setBiosafety(String biosafety) {
		_biosafety = biosafety;
	}

	public int getStatus() {
		return _status;
	}

	public void setStatus(int status) {
		_status = status;
	}

	public long getStrainId() {
		return _strainId;
	}

	public void setStrainId(long strainId) {
		_strainId = strainId;
	}

	private long _sampleId;
	private String _scientificName;
	private String _sampleSynonym;
	private int _eCatalog;
	private String _sampleCode;
	private String _catalogYear;
	private String _otherName;
	private String _sampleOtherCode;
	private String _sourceIsolation;
	private String _history;
	private int _sampleForeign;
	private int _domestic;
	private int _deposit;
	private String _isolationMethod;
	private String _isolationTime;
	private String _depositionTime;
	private String _isolationPerson;
	private String _fd;
	private String _df;
	private String _sampleLN;
	private String _cultivationMedium;
	private String _cultivationTemperature;
	private String _pH;
	private Date _mostRecentCheckingDate;
	private String _survivability;
	private int _typeStrain;
	private int _naturalStrain;
	private int _mutatedStrain;
	private int _productionStrain;
	private String _cellMorphology;
	private String _cellPhoto;
	private String _colonyPhoto;
	private String _sporePhoto;
	private String _sequences;
	private String _growthCondition;
	private String _quinone;
	private String _GCContent;
	private String _otherCharacteristics;
	private String _applications;
	private String _sampleReferences;
	private Date _createDate;
	private Date _updateDate;
	private String _biosafety;
	private int _status;
	private long _strainId;
}